package com.intretech.tj.device;

import lombok.Data;

@Data
public class MessageData {
    private String id;
    private String title;
    private String content;
    private String time;

    public MessageData(String id, Type title, String content, String time) {
        this.id = id;
        this.title = title.getName();
        this.content = content;
        this.time = time;
    }

    public MessageData(String id, String title, String content, String time) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.time = time;
    }
}
